package Common;
/**
 * 
 * This class connects a course to a student
 *
 */
public class CourseOfStudent extends Course {
	private String sid;
	
	private String FirstName;
	private String LastName;
	private String ClassID;
	
	/**
	 * Empty constructor for this class
	 */
	
	public CourseOfStudent()
	{
		super();
		this.sid=null;
		this.FirstName=null;
		this.LastName=null;
		this.ClassID=null;
	}
	
	/**
	 * 
	 * @param name = Course name
	 * @param id = Course ID
	 * @param sem = Semester
	 * @param y = Year
	 * @param g  = Grade
	 * @param sid = Student ID
	 * @param fn = First Name
	 * @param ln = Last name
	 * @param classid = Class ID
	 */
	public CourseOfStudent(String name, String id, String sem, String y, String g,String sid,String fn,String ln,String classid)
	{
		super(name, id, sem, y, g,"false");
		this.sid=sid;
		this.FirstName=fn;
		this.LastName=ln;
		this.ClassID=classid;
		
	}
	public String getSid()
	{
		return this.sid;
	}
	
	public String getFirstName()
	{
		return this.FirstName;
	}
	public String getLastName()
	{
		return this.LastName;
	}
	public String getClassID()
	{
		return this.ClassID;
	}
	public void setSid(String sid) {
		this.sid = sid;
	}
	public void setFirstName(String firstName) {
		FirstName = firstName;
	}
	public void setLastName(String lastName) {
		LastName = lastName;
	}
	public void setClassID(String classID) {
		ClassID = classID;
	}

}
